#ifndef GRAPH_EDGE_H_
#define GRAPH_EDGE_H_

/* Joins to Graph Nodes together,
    stores its nodes via index into an externally managed vector 
*/
class GraphEdge
{    
public:
    GraphEdge() : m_from(-1), m_to(-1), m_cost(0){}

    int From() const { return m_from; }
    void From(int val) { m_from = val; }
    int To() const { return m_to; }
    void To(int val) { m_to = val; }
    float Cost() const { return m_cost; }
    void Cost(float val) { m_cost = val; }

public:
    int m_from;
    int m_to;
    float m_cost;
    
};
#endif